This scenario demonstrates how to send a badge notification.
Badge notifications update your application's tile with a number or Windows provided glyph. Badges will be displayed on all tile sizes, including the small tile size.
Choose if you want to display a number or a glyph:
Enter a number between 1 and 99. Any number above 99 will be displayed on the tile as 99+:
Now choose the glyph you want to display:
Send using the Notifications Extensions Library:
For the first example, we use the Notifications Extensions Library to build the notification payload.
Send by constructing your own payload:
Since notifications are simply XML, you can create them in many different ways. For example, here we create notifications by constructing strings.